//
//  PGTabBar.h
//  EpointFrame5
//
//  Created by Pill Gong on 14-4-17.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PGBarItem.h"

@class PGTabBar;

@protocol PGTabBarDelegate <NSObject>

- (void)pgTabBar:(PGTabBar *)tabBar didClickedAtIndex:(NSInteger)index;

@end

@interface PGTabBar : UIView

@property (nonatomic, assign) id<PGTabBarDelegate> delegate;

@property (nonatomic, assign) int selectedIndex;
@property (nonatomic, strong) NSArray *items;

- (void)setBarItems:(NSArray *)items;

@end
